package cn.mynb.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import cn.mynb.entity.MynbActivities;
import cn.mynb.entity.MynbQuestionnaire;

public class UserBean {	
	//会员id
	private Long id;

	//会员名称
	private String username ;

	//会员 email
	private String useremail ;

	//用户类型
	private String usertype ;

	//用户密码
	private String password ;

	//用户状态 1 表示可用， 0 表示禁用
	private Integer block ;

	//用户激活码
	private String activation ;

	//用户头像路径
	private String actor ;

	//用户注册时间

	private Date registerDate ;

	//用户最后访问时间
	private Date Lastvisidate ;
	

	//会员权限
	private String param ;

	private Set<MynbQuestionnaire> mynbQuestionnaires = new HashSet<MynbQuestionnaire>(
	0);
private Set<MynbActivities> mynbActivitieses = new HashSet<MynbActivities>(
	0);
	
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUseremail() {
		return useremail;
	}

	public void setUseremail(String useremail) {
		this.useremail = useremail;
	}

	public String getUsertype() {
		return usertype;
	}

	public void setUsertype(String usertype) {
		this.usertype = usertype;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getBlock() {
		return block;
	}

	public void setBlock(Integer block) {
		this.block = block;
	}

	public String getActivation() {
		return activation;
	}

	public void setActivation(String activation) {
		this.activation = activation;
	}

	public String getActor() {
		return actor;
	}

	public void setActor(String actor) {
		this.actor = actor;
	}

	public Date getRegisterDate() {
		return registerDate;
	}

	public void setRegisterDate(Date registerDate) {
		this.registerDate = registerDate;
	}

	public Date getLastvisidate() {
		return Lastvisidate;
	}

	public void setLastvisidate(Date lastvisidate) {
		Lastvisidate = lastvisidate;
	}

	public String getParam() {
		return param;
	}

	public void setParam(String param) {
		this.param = param;
	}

	public Set<MynbQuestionnaire> getMynbQuestionnaires() {
		return mynbQuestionnaires;
	}

	public void setMynbQuestionnaires(Set<MynbQuestionnaire> mynbQuestionnaires) {
		this.mynbQuestionnaires = mynbQuestionnaires;
	}

	public Set<MynbActivities> getMynbActivitieses() {
		return mynbActivitieses;
	}

	public void setMynbActivitieses(Set<MynbActivities> mynbActivitieses) {
		this.mynbActivitieses = mynbActivitieses;
	}	
}
